<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork" %>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal form-validate" method="post"  <ww:if test="userCode != null">action="updZsjUserBase.action"</ww:if><ww:else>action="addZsjUserBase.action"</ww:else>  id="form1" name="form1" onsubmit="return $action.submit(this);">
<div class="content" style="min-width: 400px;">
<br/>
		<div class="control-group">
			 <label class="control-label"><span class="required">*</span>用户编码</label>
			  <div class="controls">
		       <input type="text" maxlength="10" placeholder="请输入用户编码"  class="input-xlarge required"  name="userCode" id="userCode" pattern="[0-9]{1,}" value="<ww:property value='item.userCode'/>" >	    		    
		   </div>
		</div>
		<div class="control-group">
			<label class="control-label">
				用户ID</label>
    		<div class="controls">
		  	<input type="text" maxlength="100" placeholder="请输入用户ID"  class="input-xlarge" name="userId" id="userId" value="<ww:property value='item.userId'/>" />
			</div>	
		</div>
		
		<div class="control-group">
			 <label class="control-label">
				用户名</label>
    		<div class="controls">
		  <input type="text" maxlength="100" placeholder="请输入用户名"  class="input-xlarge" name="userName" id="userName" value="<ww:property value='item.userName'/>" />
			</div>
		</div>
		<div class="control-group">
			 <label class="control-label">
				登录类型</label>
    			<div class="controls">
    			<ww:iterator value="#dictID.getDictType('account_login_type')">
		          <label class="radio inline">
		          <input type="radio"  value="<ww:property value='code'/>" <ww:if test="item.type==code">checked="checked"</ww:if> id="type" name="type"><ww:property value="name"/></label>
		      </ww:iterator>
			</div>
		</div>

		<div class="control-group">
	   		 <label class="control-label">批次号</label>
	    	<div class="controls">
	       	 	<input type="text" maxlength="10" placeholder="请输入批次号"  class="input-xlarge"  name="version" id="version" pattern="[0-9]{1,}" value="<ww:property value='item.version'/>" >	    		    
	    	</div>	    
		</div>


		
		
<br/>
</div>

  <div class="set-btn" data-spy="affix" data-offset-top="200">
   <button class="btn btn-sm btn-primary" type="button" onclick="$(this).submit();"> <i class="fa fa-save"></i> 保存</button>
    <a class="btn btn-sm btn-default" href="javascript:;" onclick="$css.closeDialog()"> <i class="fa fa-close"></i> 关闭</a>
  </div>
</form>